/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 票务预定详情查询接口 GET /scenic/ticketingUser/infoTicketingUser */
export async function scenicTicketingUserInfoTicketingUserUsingGet({
  params,
  options,
}: {
  // 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
  params: API.scenicTicketingUserInfoTicketingUserUsingGetParams;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingzidingyibiaodanvo>(
    '/scenic/ticketingUser/infoTicketingUser',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}

/** 票务预定分页查询接口 POST /scenic/ticketingUser/pageTicketingUser */
export async function scenicTicketingUserPageTicketingUserUsingPost({
  body,
  options,
}: {
  body: API.TicketingUserBoe24dbc816f7b4201Ae88Ce036b992612;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingPageDataVozidingyibiaodanvo>(
    '/scenic/ticketingUser/pageTicketingUser',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 票务详情分页查询接口 POST /scenic/ticketingUser/pageTicketingUserForm */
export async function scenicTicketingUserPageTicketingUserFormUsingPost({
  body,
  options,
}: {
  body: API.TicketingUserFormBoc0d88067Ec9f416784f2F1bedcbbb645;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingPageDataVoyonghuyuyuexinxivo>(
    '/scenic/ticketingUser/pageTicketingUserForm',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 票务预定 POST /scenic/ticketingUser/saveTicketingUser */
export async function scenicTicketingUserSaveTicketingUserUsingPost({
  body,
  options,
}: {
  body: {};
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyinglong>('/scenic/ticketingUser/saveTicketingUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
